home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / code / r3mpspec.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.1 KB  |  48 lines

  1.  
  2. // JavaScript wrapper for r3mpspec.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_MPSPE_H = 1;
  7. include("real/code/r3matprp.js")
  8.  
  9.  
  10. var R3CLID_MPSPECULAR = 787;
  11.  
  12.  
  13.  
  14.  
  15. R3MPSPEA_Sharpness = 787500;
  16. function SetR3MPSPEA_Sharpness(value) {
  17.   R3Set(this.r3obj, R3MPSPEA_Sharpness, value, R3TID_FLOAT, 0); 
  18. }
  19.  
  20. function GetR3MPSPEA_Sharpness() {
  21.   return R3Get(this.r3obj, R3MPSPEA_Sharpness, R3TID_FLOAT, 0); 
  22. }
  23.  
  24. R3MPSPEA_Brightness = 787501;
  25. function SetR3MPSPEA_Brightness(value) {
  26.   R3Set(this.r3obj, R3MPSPEA_Brightness, value, R3TID_FLOAT, 0); 
  27. }
  28.  
  29. function GetR3MPSPEA_Brightness() {
  30.   return R3Get(this.r3obj, R3MPSPEA_Brightness, R3TID_FLOAT, 0); 
  31. }
  32.  
  33.  
  34.  
  35. function r3Mpspecular () { 
  36.    this.base = r3God;
  37.    if(arguments.length) {
  38.       this.base(R3CLID_MPSPECULAR, arguments);
  39.    }
  40.    // Attributes
  41.    this.GetSharpness=GetR3MPSPEA_Sharpness;
  42.    this.SetSharpness=SetR3MPSPEA_Sharpness;
  43.    this.GetBrightness=GetR3MPSPEA_Brightness;
  44.    this.SetBrightness=SetR3MPSPEA_Brightness;
  45. }
  46.  
  47. r3Mpspecular.prototype=new r3Matprop;
  48. // r3mpspec.h_H